

struct ProcessServerBean {
1: required string processIp,
2: required i32 processPort,
3: required string hostName,
4: required string dcName,
5: required string processInfo,
6: required i32 processType,
7: required i64 processId,
8: required i32 processStatus,
9: required string processName,
}

exception NotFoundError {
    1: required string msg,
}

struct ProcessLogicidBean{
1: required i32 processPort,
2: required string processIp,
3: required string processName,
4: required string dcName,
5: required i64 processId,
6: required i32 logicId,
}

struct ProcessServiceBean{
    1: required string serviceName,
    2: required string endpoint,
    3: required string subchannel,
    4: required i32 processPort,
    5: required string processIp,
    6: required string processName,
    7: required string dcName,
    8: required i64 processId,
}

service ProcessServerService{

    list<ProcessLogicidBean> getLogicidList(
    )throws (
        1: NotFoundError notFound,
    )


    list<ProcessServiceBean> getServiceList(
    )throws (
        1: NotFoundError notFound,
    )

    binary  getServiceListBinary(
    )throws (
        1: NotFoundError notFound,
    )
    
  
    void  RegisterServer(
        1:binary xml,
    )throws (
        1: NotFoundError notFound,
    )
}